package com.xinqi.common.core.enums;

/**
 * 课程类型
 */
public enum FavoriteLimitEnum {

    MAX_LENGTH(1, 100L, "一个用户最多可创建标签数量"),
    MAX_ASSIGN(2, 3L, "一条收藏最多可添加标签数量"),
    TITLE_LENGTH(3, 10L, "标签字数最大值");

    private final Integer code;
    private final Long number;
    private final String description;

    FavoriteLimitEnum(Integer code, Long number, String description) {
        this.code = code;
        this.number = number;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public Long getNumber() {
        return number;
    }

    public String getDescription() {
        return description;
    }

}
